package com.linxi.wordslog.data

data class TranslateResult (
    val translateResult: Array<List<Result>>
) {
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as TranslateResult

        if (!translateResult.contentDeepEquals(other.translateResult)) return false

        return true
    }

    override fun hashCode(): Int {
        return translateResult.contentDeepHashCode()
    }
}

data class Result(
    val src: String,
    val tgt: String
)